//   元组的定义

const arr:[string,number,boolean]=['string',1,true];

// 交叉类型

type AgeType={age:number};
const user:{name:string,gender:string}&AgeType={name:'test',gender:'男',age:30};
